<template>
  <tab-bar>
    <tab-bar-item path="/home">
      <img src="~/assets/img/tabbar/home.svg" slot="item-img" />
      <img src="~/assets/img/tabbar/home_active.svg" slot="item-img-active" />
      <p slot="item-text">首页</p>
    </tab-bar-item>
    <tab-bar-item path="/category">
      <img src="~/assets/img/tabbar/category.svg" slot="item-img" />
      <img
        src="~/assets/img/tabbar/category_active.svg"
        slot="item-img-active"
      />
      <p slot="item-text">分类</p>
    </tab-bar-item>
    <tab-bar-item path="/cart">
      <img src="~/assets/img/tabbar/cart.svg" slot="item-img" />
      <img src="~/assets/img/tabbar/cart_active.svg" slot="item-img-active" />
      <p slot="item-text">购物车</p>
    </tab-bar-item>
    <tab-bar-item path="/user">
      <img src="~/assets/img/tabbar/user.svg" slot="item-img" />
      <img src="~/assets/img/tabbar/user_active.svg" slot="item-img-active" />
      <p slot="item-text">我的</p>
    </tab-bar-item>
  </tab-bar>
</template>

<script>
import TabBar from "components/common/tabbar/TabBar";
import TabBarItem from "components/common/tabbar/TabBarItem";
export default {
    components: {
        TabBar,
        TabBarItem
    },
};
</script>

<style>
</style>